solving a number line word problem